package com.niodata.dp.monitor.sharelib.entity.file;

import java.io.Serializable;

public class TimelyRateCheckPoint implements Serializable {

  //检查点（分钟数）
  int checkTime;
  //本次检查需要满足的及时率[0,100]
  double rate;

  public TimelyRateCheckPoint() {

  }

  public TimelyRateCheckPoint(int checkTime, double rate) {
    this.checkTime = checkTime;
    this.rate = rate;
  }

  public int getCheckTime() {
    return checkTime;
  }

  public void setCheckTime(int checkTime) {
    this.checkTime = checkTime;
  }

  public double getRate() {
    return rate;
  }

  public void setRate(double rate) {
    this.rate = rate;
  }

  @Override
  public String toString() {
    return "TimelyRateCheckPoint{"
          + "checkTime=" + checkTime
          + ", rate=" + rate
          + '}';
  }
}
